<form id="preview-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('小程序版本')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-env" class="form-control" name="row[env]" title="">
                {foreach name="envList" item="vo"}
                <option value="{$key|htmlentities}" {in name="key" value="$env" }selected{/in}>{$vo|htmlentities}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('小程序二维码')}:</label>
        <div class="col-xs-12 col-sm-8">
            {notempty name="miniTip"}
            <b class="label-danger">{$miniTip|htmlentities}</b>
            {/notempty}
            {notempty name="miniQrcode"}
            <img alt="" src="{$miniQrcode.src|htmlentities}" style="width: 270px;">
            {/notempty}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('H5二维码')}:</label>
        <div class="col-xs-12 col-sm-8">
            {notempty name="normalTip"}
            <b class="label-danger">{$normalTip|htmlentities}</b>
            {/notempty}
            {notempty name="$normalQrcode"}
            <img alt="" src="{$normalQrcode.src|htmlentities}" style="width: 270px;">
            {/notempty}
        </div>
    </div>
</form>